# mysql
MYSQL_USERNAME = 'mapping'
MYSQL_PASSWORD = 'mapping'
MYSQL_HOST = '172.16.15.105'
MYSQL_DB = 'mappingdb'
MYSQL_PORT = 6600

DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}'.format(MYSQL_USERNAME, MYSQL_PASSWORD, MYSQL_HOST, MYSQL_PORT, MYSQL_DB)

WTF_CSRF_ENABLED = True
SECRET_KEY = 'you-will-never-guess-more'

# page
FLASKY_POSTS_PER_PAGE = 10


# role and user
ADMIN_ROLE = 'admin'
DEFAULT_ROLE = 'user'

# sqoop env
SSH_DEV_HOST = '192.168.246.25'
SSH_DEV_PORT = 22
SSH_DEV_USER = 'root'
SSH_DEV_PASSWORD = 'Kuka2019'

SSH_PDE_HOST = '192.168.246.25'
SSH_PDE_PORT = 22
SSH_PDE_USER = 'root'
SSH_PDE_PASSWORD = 'Kuka2019'

# reset password
REST_PASSWD = '123456'

# sqoop connect jdbc driver
SQOOP_MYSQL = 'jdbc:mysql://{}:{}/{}'
SQOOP_SQLSERVER = 'jdbc:sqlserver://{};databaseName={}'
SQOOP_ORACLE = 'jdbc:oracle:thin:@{}:{}:{}'
